#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>

#define MAX_ARR_LEN 10

int min_arr(int arr[], int len)
{
    int res = arr[0];
    for (int i = 0; i < len; ++i) {
        if (res > arr[i]) {
            res = arr[i];
        }
    }
    return res;
}

int main()
{
    int arr[MAX_ARR_LEN];

    while (scanf("%d %d %d", &arr[0], &arr[1], &arr[2]) == 3) {
        printf("%d\n", min_arr(arr, 3));
    }

    return 0;
}